#include "ManualControl.h"
#include "ui_ManualControl.h"

ManualControl::ManualControl(QWidget *parent)
	: QDialog(parent)
{	
	setWindowTitle(tr("Manual control panel"));
	Ui::ManualControl ui;
	ui.setupUi(this);

	connect(ui.UpButton, SIGNAL( clicked() ), this, SLOT( Up() ) ); 
	connect(ui.RightButton, SIGNAL( clicked() ), this, SLOT( Right() ) ); 
	connect(ui.DownButton, SIGNAL( clicked() ), this, SLOT( Down() ) );
	connect(ui.LeftButton, SIGNAL( clicked() ), this, SLOT( Left() ) );
}